﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Configuration;

namespace CRM.BLL
{
    [Serializable] 
    public class StaticConstant
    {
        public static readonly string[] NotBackUrl = new string[] { "/Left.aspx", "/Bottom.aspx", "/LoginPage.aspx", "/Logout.aspx", "/Top.aspx", "/Default.aspx", "/DefaultSoftPhone.aspx" };
        public static readonly string[] NotCheckMenuPage = new string[] { "ASP.left_aspx", "ASP.bottom_aspx", "ASP.default_aspx", "ASP.defaultsoftphone_aspx", "ASP.main_aspx", "ASP.top_aspx", "ASP.blank_aspx" };
        public static readonly string ExtCookies = "ExtNumber";
        public static readonly int PageSize = 20;

        /// <summary>
        /// 咨询工单命令前缀
        /// </summary>
        public static readonly string PreConsultingCase = "ConsultingCase";
        /// <summary>
        /// 投诉工单命令前缀
        /// </summary>
        public static readonly string PreComplaintCase = "ComplaintCase";
        /// <summary>
        /// 报修工单命令前缀
        /// </summary>
        public static readonly string PreRepairCase = "RepairCase";
        /// <summary>
        /// 潜在客户命令前缀
        /// </summary>
        public static readonly string PrePotentialCustomerCase = "PotentialCustomerCase";
        /// <summary>
        /// 投诉工单处理界面类名
        /// </summary>
        public static readonly string ComplaintCasePageClass = "ASP.complaintcasemanage_modify_aspx";
        /// <summary>
        /// 咨询工单处理界面类名
        /// </summary>
        public static readonly string ConsultingCasePageClass = "ASP.consultingcasemanage_modify_aspx";
        /// <summary>
        /// 报修工单处理界面类名
        /// </summary>
        public static readonly string RepairCasePageClass = "ASP.repaircasemanage_modify_aspx";
        /// <summary>
        /// 潜在客户处理界面类名
        /// </summary>
        public static readonly string PotentialCustomerCasePageClass = "ASP.potentialcustomercasemanage_modify_aspx";

        /// <summary>
        /// 弹屏界面类名
        /// </summary>
        public static readonly string PopPageClass = "ASP.pop_callinpopuppage_aspx";


        /// <summary>
        /// 处呼任务处理界面类名
        /// </summary>
        public static readonly string CallBackHandlePageClass = "ASP.callbackmanage_modify_aspx";


        /// <summary>
        /// 当前页之前显示的最大链接数
        /// </summary>
        public static readonly int gvListPreviousPageCount = 3;
        /// <summary>
        /// 当前页之后显示的最大链接数
        /// </summary>
        public static readonly int gvListAfterPageCount = 3;
        /// <summary>
        /// 当前页面的分页签标标识
        /// </summary>
        public static readonly string gvListPageTags = "Page";

        /// <summary>
        /// 
        /// </summary>
        public static readonly string RecordBegin = "1";

        /// <summary>
        /// 
        /// </summary>
        public static readonly string RecordEnd = "10000";

        /// <summary>
        /// 鼠标停留时的样式
        /// </summary>
        public static readonly string OnMouseOverStyle = "c = this.style.backgroundColor; this.style.backgroundColor='#cccccc'; ";

        /// <summary>
        /// 鼠标移走时的样式
        /// </summary>
        public static readonly string OnMouseOutStyle = "this.style.backgroundColor=c;";

        /// <summary>
        /// 
        /// </summary>
        public static readonly string UploadFilePath = "~/TempFilePath/UploadFilePath";


        /// <summary>
        /// 服务质量报告提报图片路径
        /// </summary>
        public static readonly string ServiceQualityRepotImagesUploadFilePath = "~/TempFilePath/ServiceQualityRepotImages";


       
    }
}
